package org.devocean.groupbuying.dao;

import java.util.List;

import org.devocean.groupbuying.domain.User;

public interface UserDao {

	User findUser(String userName);

	List<User> findAllUsers();

	long countUser();

	User findUserById(Integer id);

	void deleteUser(int id);

	User saveUser(User user);

	User updateUser(User user);

}
